package com.example.demo.mapper;

import com.example.demo.pojo.Worktype;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface WorkTypeMapper {
    List<Worktype> worktypeselect(
            @Param("id") int id,
            @Param("name") String name
    );

    void updatework(
            @Param("name") String name,
            @Param("seq")  int seq
    );

    void workinsert(
            @Param("worker") String worker
    );

    void workdelete(
            @Param("id") int id
    );
}
